import { createStore } from 'vuex'

export default createStore({
  state: {
    userInfo: [],
    paths: [],
    menus:[]
  },
  getters: {
  },
  mutations: {
    setuserInfo(state, newval) {
      state.userInfo = newval
    },
    setpaths(state, newval) {
      state.paths = newval
    },
    setmenus(state, newval) {
      state.menus = newval
    }
  },
  actions: {
  },
  modules: {
  }
})
